package com.siqi.hr.filter;


import com.siqi.hr.system.organization.entity.Employee;
import net.sf.json.JSONObject;

public class SysContent {
	private static ThreadLocal<Employee> empLocal = new ThreadLocal<Employee>();
	private static ThreadLocal<JSONObject> jsons = new ThreadLocal<JSONObject>();

	public static void setEmployee(Employee employee) {
		empLocal.set(employee);
	}

	public static Employee getEmployee() {
		return (Employee) empLocal.get();
	}

	public static void setJson(JSONObject json) {
		jsons.set(json);
	}

	public static JSONObject getJson() {
		return (JSONObject) jsons.get();
	}
}
